/**
 * Created by zhaoqi on 2018/7/7
 */
public class test{
    public static void main(String[] args) {
        Person p = new Man();
        System.out.println(p.type);        //返回结果为P
        System.out.println(p.getName());
    }
}
